x86-32/pod: fix map_domain_page() leak
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Dec 2009 10:59:31 +0000 (10:59 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Dec 2009 10:59:31 +0000 (10:59 +0000)
commitb6d4a6d487c1aed0d53ffa3b969f82a5d0b50201
tree56246a8ed863345442465457bb4d83b06dbe87a9
parent80b20a2fa03aca3f5da93827879e9d3aeed7dade
x86-32/pod: fix map_domain_page() leak

The 'continue' in the if() part of the conditional at the end of
p2m_pod_zero_check() was causing this, but there also really is no
point in retaining the mapping after having checked page contents,
so fix it both ways. Additionally there is no point in updating
map[] at this point anymore.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm/p2m.c